package org.seckill.service;

import java.util.List;

import org.seckill.dto.Exposer;
import org.seckill.dto.SeckillExecution;
import org.seckill.entity.Seckill;
import org.seckill.exception.RepeatKillException;

public interface SeckillService {
	List<Seckill> getSeckillList();
	Seckill getById(long id);
	Exposer exportSeckillUrl(long seckillId);
	SeckillExecution executeSeckill(long seckillId,long userPhone,String md5) throws RepeatKillException;
}
